<!DOCTYPE html>
<html>
	<head>
		<meta charset="utf-8">
		<title></title>
		<link rel="stylesheet" type="text/css" href="{$_C.hy_path}css/amazeui.min.css"/>
		<link rel="stylesheet" type="text/css" href="{$_C.hy_path}css/hy.admin.css"/>
		<link rel="stylesheet" type="text/css" href="{$_C.hy_path}css/timepicki.css"/>
		<style>
			#tooltip{
				position:absolute;
				border:1px solid #ccc;
				background:#333;
				padding:2px;
				display:none;
				color:#fff;
			}
			

		</style>
	</head>
	<body>
		<div class="am-g">
			 {include file='../Common/hy_header.html'}
			 	
      <div class="am-u-md-8 am-cf">
        <div class="am-fl am-cf">
          <div class="am-btn-toolbar am-fl">
            <div class="am-btn-group am-btn-group-xs">
				<label></label>
				
              <button   onclick="window.location.href='index.php?g=admin&m=info&a=execlUser'"   type="button" class="am-btn am-btn-default "><span class="am-icon-trash-o"></span> 导出活动详情</button>
             
            
            
           		<!--  <button data-title="新建奖品" data-id="add_prize" data-href="index.php?g=admin&m=car&a=add_prize" class="am-btn am-btn-default am-btn-xs am-text-secondary hy-js-href" ><span class="am-icon-plus"></span> 新增奖品</button> -->
			</div>

           
          </div>
        </div>
      </div>
      
	  <form action="index.php?g=admin&m=car&a=win_users" method="post">
	  	  
	      <!-- <div class="am-u-md-2 am-cf">
	        <div class="am-fr">
	          <div class="am-input-group am-input-group-sm">
					<select name="year" id="year"  style="width:150px;height:35px;">   
						{foreach from=$select.year item=y}
					    	<option value="{$y}" {if $y==$year}selected = "selected"{/if}>{$y}年</option>   
					    {/foreach}   
					</select>
						
	          </div>
	        </div>
	      </div>
	      <div class="am-u-md-2 am-cf">
	        <div class="am-fr">
	          <div class="am-input-group am-input-group-sm">
					<select name="month" id="month" style="width:150px;height:35px;">   
						{foreach from=$select.month item=m}
					    	<option value="{$m}" {if $m==$month}selected = "selected"{/if}>{$m}月</option>   
					    {/foreach}   
					</select>
						
	          </div>
	        </div>
	      </div> 
	      
	      <div class="am-u-md-2 am-cf">
	        <div class="am-fr">
	          <div class="am-input-group am-input-group-sm">
					<span class="am-input-group-btn">
	                 <input value="" name="user_name" type="text" class="am-form-field hy-js-search" placeholder="奖品名称">
	              	</span>	
	          </div>
	        </div>
	      </div>
	      
	      -->
	      <div class="am-u-md-2 am-cf">
	        <div class="am-fr">
	         
	                 共{$count}条记录
	            
	        </div>
	      </div>
	      
	    
	    </form>
      	
	  
      <div class="am-g">
      <div class="am-u-sm-12">
        <div class="am-form">
          <table class="am-table am-table-striped am-table-hover hy-table-main">
            <thead>
              <tr>
                 <th class="table-check">姓名</th>
                 <th class="table-type">微信ID(昵称)</th>
                 <th class="table-type">号码</th>
				 <th class="table-type">中奖时间</th>
				 <th class="table-type">是否已领取卡券</th>
				 
                
              </tr>
          </thead>
          <tbody>
          {foreach from=$result item=cont}
          	<tr>
          		<td>{$cont.username}</td>
          		<td>{$cont.openid}({$cont.nickname})</td>
          		<td>{$cont.phone}</td>
	            <td>{$cont.addtime}</td>
	            <td>{if $cont.status>0}是{else}否{/if}</td>
	            <!-- <td>{$cont.pby}</td>
				<td>{$cont.pri}</td>
	            <td>{$cont.card_id}</td>
	            <td>{$cont.prizenums}</td>
	            <td>
	                <div class="am-btn-toolbar">
	                  <div class="am-btn-group am-btn-group-xs">
	                    <button data-id="editmenu_{$menu.id}" data-href="index.php?g=admin&m=menu&a=edit_menu&id={$menu.id}" data-title="{$menu.name}" class="am-btn am-btn-default am-btn-xs am-text-secondary hy-js-href"><span class="am-icon-pencil-square-o"></span> 编辑</button>
	                    <button onclick="del_ini('{$ad.id}')" class="am-btn am-btn-default am-btn-xs am-text-danger"><span class="am-icon-trash-o"></span> 删除</button>
	                  </div>
	                </div>
	            </td> -->
          	</tr>
          	
          	{/foreach}
          </tbody>
        </table>
          <div class="am-cf">

			  <div class="am-fr">
				{$user_list_page}
			  </div>
			</div>
          <!-- <hr /> -->
      
        </div>
      </div>

    </div>
    </div>
   {include file='../Common/hy_footer.html'}
   <script src="{$_C.hy_path}js/jquery.min.js"></script>
   <script src="{$_C.hy_path}js/timepicki.js"></script>

   <script>
   	
	</script>
</body>
</html>
